package com.sensetime.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.sensetime"})
@EnableDiscoveryClient
//@ComponentScan(
//        basePackages = {"com.sensetime"},
//        excludeFilters = {
//                @ComponentScan.Filter(
//                        type = FilterType.ASSIGNABLE_TYPE,
//                        classes = {WhiteUrlCacheService.class} // 填写需要排除的类
//                )
//        }
//)
@EnableFeignClients(basePackages = {"com.sensetime"})
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class,args);
    }
}